#pragma once
#ifndef __MONSTER_MANAGER_H__
#define __MONSTER_MANAGER_H__

#include "cocos2d.h"
#include "../entity/Monster.h"
#include "../entity/Player.h"

USING_NS_CC;

class MonsterManager : public Node {
public:
	CREATE_FUNC(MonsterManager)
	virtual bool init();
	void enableMonsters();
	virtual void update(float dt);
	void bindPlayer(Player* player);
private:
	void createMonsters();
private:
	Vector<Monster*> m_monsterArr;

	Player* m_player;
};

#endif
